package com.fresh.service;

import java.io.IOException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.fresh.entity.AntifraudUser;
import com.fresh.entity.ZxExternalSource;


/**
 * 用户
 * 
 * @author mengxiangdong
 * @email siyinmengzi@qq.com
 * @date 2017-10-10 09:26:06
 */
public interface VerifyService {
	
	public int save(String id,String json);
	
	public int saveSource(ZxExternalSource zxExternalSource);
	
	public String saveAll(String resjdJson,String reshmdJson, AntifraudUser user,String shopId,String userId,int type) throws Exception ;
	
	public void debit(HttpServletRequest request,String type) throws Exception ;
	
	public void permissionIntercept(String permission,HttpServletResponse response,HttpServletRequest request) throws IOException;
	
}
